package com.coldchain.admin.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author fangliai
 * @since 2018-09-12
 */
@TableName("ch_system")
public class SystemConfig implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 是否开启短信登录
     */
	private Integer isSmsLogin;
    /**
     * 是否开启微信登录
     */
	private Integer isWeixinLogin;
    /**
     * 自动匹配里程
     */
	private Integer matchingKm;
    /**
     * 配送点费用
     */
	private BigDecimal nodePrice;
    /**
     * 密码全度强度
     */
	private Integer pwdSecurity;
    /**
     * 极光推送
     */
	private String jiguangAppkey;
	private String jiguangSecret;
    /**
     * 同城配送计算公式
     */
	private String cityWideFormula;
    /**
     * 城际配送计算公式
     */
	private String interCityFormula;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIsSmsLogin() {
		return isSmsLogin;
	}

	public void setIsSmsLogin(Integer isSmsLogin) {
		this.isSmsLogin = isSmsLogin;
	}

	public Integer getIsWeixinLogin() {
		return isWeixinLogin;
	}

	public void setIsWeixinLogin(Integer isWeixinLogin) {
		this.isWeixinLogin = isWeixinLogin;
	}

	public Integer getMatchingKm() {
		return matchingKm;
	}

	public void setMatchingKm(Integer matchingKm) {
		this.matchingKm = matchingKm;
	}

	public BigDecimal getNodePrice() {
		return nodePrice;
	}

	public void setNodePrice(BigDecimal nodePrice) {
		this.nodePrice = nodePrice;
	}

	public Integer getPwdSecurity() {
		return pwdSecurity;
	}

	public void setPwdSecurity(Integer pwdSecurity) {
		this.pwdSecurity = pwdSecurity;
	}

	public String getJiguangAppkey() {
		return jiguangAppkey;
	}

	public void setJiguangAppkey(String jiguangAppkey) {
		this.jiguangAppkey = jiguangAppkey;
	}

	public String getJiguangSecret() {
		return jiguangSecret;
	}

	public void setJiguangSecret(String jiguangSecret) {
		this.jiguangSecret = jiguangSecret;
	}

	public String getCityWideFormula() {
		return cityWideFormula;
	}

	public void setCityWideFormula(String cityWideFormula) {
		this.cityWideFormula = cityWideFormula;
	}

	public String getInterCityFormula() {
		return interCityFormula;
	}

	public void setInterCityFormula(String interCityFormula) {
		this.interCityFormula = interCityFormula;
	}

}
